<template>
  <div class="shop">
    <!--面包屑-->
    <div class="crumbs">
      <Crumbs :crumbs_title="crumbs_title"/>
    </div>
    <!--活动及品牌新闻列表-->
    <div class="shop-content">
      <div class="shop-title">
        <div class="ColNameBox">
          <h1 class="h1">Shop List</h1>
          <h2 class="h2">店铺一览
            <span class="city">
              <select>
                <option>广州</option>
              </select>
            </span>
          </h2>
        </div>

      </div>
      <div class="shop-list">
        <div class="shop1_1" v-for="index in 11" :key="index">
          <div class="shopimg">
            <a href="shop_info.html">
              <img src="../../assets/uploadfiles/image/temp/brand3_img.jpg"
                   width="216" height="155"/>
            </a>
          </div>
          <div class="shop1_2">
            <div class="shopname"><a href="shop_info.html">莘庄仲盛店</a></div>
            <div class="shopweixin">
              <a href="shop_info.html">
                <img src="../../assets/images/weixin.jpg" width="54" height="18"/>
              </a>
            </div>
          </div>
          <div class="shopaddress">市闵行区都市路5001号</div>
          <div class="shoptel">TEL:000-000-0000</div>
          <div class="newsmore" style="width:216px; margin-top:0px; margin-top:15px;">
            <a href="shop_info.html">
              <img src="../../assets/images/more.jpg" width="13" height="11"/>
              查看详细
            </a>
          </div>
        </div>
      </div>
    </div>
    <!--分页-->
    <div class="pagination">
      <el-pagination
        background
        layout="prev, pager, next"
        :total="1000">
      </el-pagination>
    </div>
  </div>
</template>

<script>
import Crumbs from '@/components/Crumbs'

export default {
  name: 'ShopList',
  data () {
    return {
      crumbs_title: '店铺一览'
    }
  },
  components: {
    Crumbs
  }
}
</script>

<style scoped lang="less">
.shop {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  // shop-list
  .shop-content {
    width: 980px;
    margin: 0 auto;
    text-align: left;
    // 标题
    .shop-title {
      height: 66px;
      border-bottom: 2px solid #83B8D3;
      font-family: "微软雅黑";
      position: relative;
      margin-bottom: 20px;

      .ColNameBox {
        .h1 {
          font-weight: normal;
          font-size: 23px;
          color: #ABBDEB;
          text-transform: uppercase;
          height: 23px;
          line-height: 23px;
        }

        .h2 {
          font-weight: normal;
          font-size: 30px;
          color: #26355B;
          height: 30px;
          line-height: 30px;
          transform: translateY(-25px);

          .city {
            margin-left: 20px;
          }
        }
      }
    }

    .shop-list {
      .shop1_1 {
        width: 235px;
        height: 288px;
        overflow: hidden;
        border: 2px solid #e7e7e7;
        float: left;
        font-size: 12px;
        margin: 5px 8px 5px 0;
        background: #fff;
        box-sizing: border-box;
        padding: 7px;
        border-radius: 4px;
        color: #666666;
        line-height: 21px;
        .shop1_2{
          padding-top: 15px;
          padding-right: 10px;
          padding-left: 2px;
          display: flex;
          justify-content: space-between;
          .shopname{
            a{
              text-decoration: none;
              color: #444444;
              font-size: 12px;
              font-weight: bold;
            }
          }
        }
        .shopaddress{
        }
        .shoptel{
          height: 21px;
        }
        .newsmore{
          margin-top: 5px;
          a{
            text-decoration: none;
            color: #91a3cf;
          }
        }
      }
    }
  }

  // 分页
  .pagination {
    width: 980px;
    height: 50px;
    margin-top: 50px;
  }
}
</style>
